#include<func.h>
//使用头文件
typedef enum{
    CD,LS,PUTS,GETS,REMOVE,PWD,MKDIR,RMDIR

}OrderType;
int execOrder_client(int orderflag,char* path,int netfd){
    switch(orderflag){
    case(CD):
        cd_client(path);
        break;//cd 的具体函数
    case(LS):
        ls_client(path);
        break;
    case(PUTS):
        puts_client(netfd,path);
        break;
    case(GETS):
        gets_client(netfd,path);
        break;
    case(REMOVE):
        remove_client(path);
        break;
    case(PWD):
        pwd_client();
        break;
    case(MKDIR):
        mkdir_client();
        break;
    case(RMDIR):
        rmdir_client();
        break;
    }
    return 0;
}


